package cn.fengzhilun.javase.day10;

public class Animal {
	String color="绿色";
	
	public Animal() {
		color ="黄色";
	}
	public  Animal(String color) {
		this.color=color;
		
	}
	
	
	
	public String getColor() {
		return color;
	}
	
	public void setColor(String color) {
		this.color = color;
	}
	public void shout() {
		
		System.out.println("父亲在叫");
	}
}

